package com.ycj.design.create.factory.abstractfactory;

/**
 * @author chuanjieyang
 * @date Nov 20, 2018 17:49:13 PM
 */
public class Test {
    @org.junit.Test
    public void test(){
        FemaleFactory femaleFactory = new FemaleFactory();
        Human yellowFamaleHuman = femaleFactory.createYellowHuman();
        yellowFamaleHuman.getColor();
        yellowFamaleHuman.getSex();
        yellowFamaleHuman.talk();
    }

}
